\hypertarget{classlexical_1_1token}{
\section{Dokumentace třídy lexical::lexical::token}
\label{classlexical_1_1token}\index{lexical::token@{lexical::token}}
}
Výstupní jednotka analyzátoru.  


{\tt \#include $<$lexical.h$>$}

\subsection*{Veřejné typy}
\begin{CompactItemize}
\item 
enum \hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df}{symbols} \{ \par
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df1fe3f8d2a499994cdf8a49ae90ebedb2}{GO\_\-G}, 
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df7f23518f9eb7e4699f1d2d5028d386e9}{FEED\_\-F}, 
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df9dbb48df1056a726ded13c87ac99000d}{SPINDLE\_\-S}, 
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df30e372aeb6b679d38117a6937a536d8f}{LINE\_\-N}, 
\par
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df568247de5d0908d14b9273913f012d19}{MACHINE\_\-M}, 
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df1ff0e3fc59c77d4ffdf13c4d1bb81021}{RADIUS\_\-R}, 
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df702a4094bc66f5c02e6eb4bdcd0501e4}{AXIS\_\-X}, 
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176dfcaf4af6a636d7259184080870947e6a4}{AXIS\_\-Y}, 
\par
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df7e79cf914dd46d306a60a897b1a1d435}{AXIS\_\-Z}, 
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176dfdb128e90312ecc24904e6029b2478f11}{ARC\_\-I}, 
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df53354e76812c974f24a0cddf3bbb053e}{ARC\_\-J}, 
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176dface5dba98d590e64b5aff9ca40a9222f}{ARC\_\-K}, 
\par
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df42b8693ddad73007833359cbc8ef1f6a}{COMMENT}, 
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176dfd2e2395a326aebb31fb928c38b77237a}{OBJECT\_\-START}, 
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df3e574e7c971311a8b6a6da3ff6474792}{OBJECT\_\-END}, 
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df6c8114f969f818e3b7c16ae12895eebc}{TOOL\_\-T}, 
\par
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df0675491338929ceb712e6f8a852f5dd2}{SUBROUTINE\_\-O}, 
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df5c08e28bb0311dc30e3778723659bfb0}{CALL\_\-P}, 
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df2722b87907e89c0d9d217a960af393f6}{END}, 
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df01117c456d6bdf21f8e3cbef2162c0d1}{ERROR}
 \}
\begin{CompactList}\small\item\em Výčet všech symbolů. \item\end{CompactList}\subsection*{Veřejné atributy}
\begin{CompactItemize}
\item 
\hypertarget{classlexical_1_1token_dd22655708537760d6f9641763edd78a}{
\hyperlink{classlexical_1_1token_72fac20575d593354489722a726176df}{symbols} \textbf{symbol}}
\label{classlexical_1_1token_dd22655708537760d6f9641763edd78a}

\item 
std::string \hyperlink{classlexical_1_1token_08905637b113c636a7a210654ae0465f}{lexem}
\begin{CompactList}\small\item\em Lexem. \item\end{CompactList}\item 
unsigned \hyperlink{classlexical_1_1token_4efe257cce5634bdcbc8d799b2e42419}{line}
\begin{CompactList}\small\item\em Řádek tokenu. \item\end{CompactList}\item 
\hypertarget{classlexical_1_1token_4a69d612954f20b92f08759d018100a3}{
unsigned long \textbf{startOffset}}
\label{classlexical_1_1token_4a69d612954f20b92f08759d018100a3}

\item 
\hypertarget{classlexical_1_1token_a7a2b8d540e8896dad3085d2182ae4a1}{
unsigned long \textbf{endOffset}}
\label{classlexical_1_1token_a7a2b8d540e8896dad3085d2182ae4a1}

\end{CompactItemize}


\subsection{Detailní popis}
Výstupní jednotka analyzátoru. 

Token obsahuje výčtovou typ všech symbolů, které mohou být analyzovány. Tento typ je dále používám v další stupních analýzy. Kromě symbolu obsahuje \hyperlink{classlexical_1_1token}{token} také lexém. 

\subsection{Dokumentace k členským výčtům}
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176df}{
\index{lexical::token@{lexical::token}!symbols@{symbols}}
\index{symbols@{symbols}!lexical::token@{lexical::token}}
\subsubsection[{symbols}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf lexical::token::symbols}}}
\label{classlexical_1_1token_72fac20575d593354489722a726176df}


Výčet všech symbolů. 

Všechny symboly, které mohou být rolišovány dále syntaktickým analyzátorem, nebo používány v jiných typech. Mezi symboly se objevují i takové, jako konec souboru, nebo chybný \hyperlink{classlexical_1_1token}{token}. \begin{Desc}
\item[Hodnoty výčtu: ]\par
\begin{description}
\index{GO\_\-G@{GO\_\-G}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!GO\_\-G@{GO\_\-G}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176df1fe3f8d2a499994cdf8a49ae90ebedb2}{
GO\_\-G}
\label{classlexical_1_1token_72fac20575d593354489722a726176df1fe3f8d2a499994cdf8a49ae90ebedb2}
}]Interpolace a jiné funkce. \index{FEED\_\-F@{FEED\_\-F}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!FEED\_\-F@{FEED\_\-F}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176df7f23518f9eb7e4699f1d2d5028d386e9}{
FEED\_\-F}
\label{classlexical_1_1token_72fac20575d593354489722a726176df7f23518f9eb7e4699f1d2d5028d386e9}
}]Rychlost posuvu. \index{SPINDLE\_\-S@{SPINDLE\_\-S}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!SPINDLE\_\-S@{SPINDLE\_\-S}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176df9dbb48df1056a726ded13c87ac99000d}{
SPINDLE\_\-S}
\label{classlexical_1_1token_72fac20575d593354489722a726176df9dbb48df1056a726ded13c87ac99000d}
}]Rychlost otáčení vřetena. \index{LINE\_\-N@{LINE\_\-N}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!LINE\_\-N@{LINE\_\-N}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176df30e372aeb6b679d38117a6937a536d8f}{
LINE\_\-N}
\label{classlexical_1_1token_72fac20575d593354489722a726176df30e372aeb6b679d38117a6937a536d8f}
}]Číslo řádky. \index{MACHINE\_\-M@{MACHINE\_\-M}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!MACHINE\_\-M@{MACHINE\_\-M}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176df568247de5d0908d14b9273913f012d19}{
MACHINE\_\-M}
\label{classlexical_1_1token_72fac20575d593354489722a726176df568247de5d0908d14b9273913f012d19}
}]Funkce definované strojem. \index{RADIUS\_\-R@{RADIUS\_\-R}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!RADIUS\_\-R@{RADIUS\_\-R}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176df1ff0e3fc59c77d4ffdf13c4d1bb81021}{
RADIUS\_\-R}
\label{classlexical_1_1token_72fac20575d593354489722a726176df1ff0e3fc59c77d4ffdf13c4d1bb81021}
}]Parametr kruhové interpolace. \index{AXIS\_\-X@{AXIS\_\-X}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!AXIS\_\-X@{AXIS\_\-X}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176df702a4094bc66f5c02e6eb4bdcd0501e4}{
AXIS\_\-X}
\label{classlexical_1_1token_72fac20575d593354489722a726176df702a4094bc66f5c02e6eb4bdcd0501e4}
}]Parametr interpolace, osa x. \index{AXIS\_\-Y@{AXIS\_\-Y}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!AXIS\_\-Y@{AXIS\_\-Y}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176dfcaf4af6a636d7259184080870947e6a4}{
AXIS\_\-Y}
\label{classlexical_1_1token_72fac20575d593354489722a726176dfcaf4af6a636d7259184080870947e6a4}
}]Parametr interpolace, osa y. \index{AXIS\_\-Z@{AXIS\_\-Z}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!AXIS\_\-Z@{AXIS\_\-Z}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176df7e79cf914dd46d306a60a897b1a1d435}{
AXIS\_\-Z}
\label{classlexical_1_1token_72fac20575d593354489722a726176df7e79cf914dd46d306a60a897b1a1d435}
}]Parametr interpolace, osa z. \index{ARC\_\-I@{ARC\_\-I}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!ARC\_\-I@{ARC\_\-I}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176dfdb128e90312ecc24904e6029b2478f11}{
ARC\_\-I}
\label{classlexical_1_1token_72fac20575d593354489722a726176dfdb128e90312ecc24904e6029b2478f11}
}]Parametr kruhové interpolace, střed, osa x. \index{ARC\_\-J@{ARC\_\-J}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!ARC\_\-J@{ARC\_\-J}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176df53354e76812c974f24a0cddf3bbb053e}{
ARC\_\-J}
\label{classlexical_1_1token_72fac20575d593354489722a726176df53354e76812c974f24a0cddf3bbb053e}
}]Parametr kruhové interpolace, střed, osa y. \index{ARC\_\-K@{ARC\_\-K}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!ARC\_\-K@{ARC\_\-K}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176dface5dba98d590e64b5aff9ca40a9222f}{
ARC\_\-K}
\label{classlexical_1_1token_72fac20575d593354489722a726176dface5dba98d590e64b5aff9ca40a9222f}
}]Parametr kruhové interpolace, střed, osa z. \index{COMMENT@{COMMENT}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!COMMENT@{COMMENT}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176df42b8693ddad73007833359cbc8ef1f6a}{
COMMENT}
\label{classlexical_1_1token_72fac20575d593354489722a726176df42b8693ddad73007833359cbc8ef1f6a}
}]Běžný kometář. \index{OBJECT\_\-START@{OBJECT\_\-START}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!OBJECT\_\-START@{OBJECT\_\-START}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176dfd2e2395a326aebb31fb928c38b77237a}{
OBJECT\_\-START}
\label{classlexical_1_1token_72fac20575d593354489722a726176dfd2e2395a326aebb31fb928c38b77237a}
}]Komentář s označením začátku bloku. \index{OBJECT\_\-END@{OBJECT\_\-END}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!OBJECT\_\-END@{OBJECT\_\-END}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176df3e574e7c971311a8b6a6da3ff6474792}{
OBJECT\_\-END}
\label{classlexical_1_1token_72fac20575d593354489722a726176df3e574e7c971311a8b6a6da3ff6474792}
}]Komentář s označením konce bloku. \index{TOOL\_\-T@{TOOL\_\-T}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!TOOL\_\-T@{TOOL\_\-T}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176df6c8114f969f818e3b7c16ae12895eebc}{
TOOL\_\-T}
\label{classlexical_1_1token_72fac20575d593354489722a726176df6c8114f969f818e3b7c16ae12895eebc}
}]Změna nástroje. \index{SUBROUTINE\_\-O@{SUBROUTINE\_\-O}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!SUBROUTINE\_\-O@{SUBROUTINE\_\-O}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176df0675491338929ceb712e6f8a852f5dd2}{
SUBROUTINE\_\-O}
\label{classlexical_1_1token_72fac20575d593354489722a726176df0675491338929ceb712e6f8a852f5dd2}
}]Označení podprogramu. \index{CALL\_\-P@{CALL\_\-P}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!CALL\_\-P@{CALL\_\-P}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176df5c08e28bb0311dc30e3778723659bfb0}{
CALL\_\-P}
\label{classlexical_1_1token_72fac20575d593354489722a726176df5c08e28bb0311dc30e3778723659bfb0}
}]Volání podprogramu. \index{END@{END}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!END@{END}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176df2722b87907e89c0d9d217a960af393f6}{
END}
\label{classlexical_1_1token_72fac20575d593354489722a726176df2722b87907e89c0d9d217a960af393f6}
}]Konec souboru. \index{ERROR@{ERROR}!lexical::token@{lexical::token}}\index{lexical::token@{lexical::token}!ERROR@{ERROR}}\item[{\em 
\hypertarget{classlexical_1_1token_72fac20575d593354489722a726176df01117c456d6bdf21f8e3cbef2162c0d1}{
ERROR}
\label{classlexical_1_1token_72fac20575d593354489722a726176df01117c456d6bdf21f8e3cbef2162c0d1}
}]Nastala chyba, neplatný \hyperlink{classlexical_1_1token}{token}. \end{description}
\end{Desc}



\subsection{Dokumentace k datovým členům}
\hypertarget{classlexical_1_1token_08905637b113c636a7a210654ae0465f}{
\index{lexical::token@{lexical::token}!lexem@{lexem}}
\index{lexem@{lexem}!lexical::token@{lexical::token}}
\subsubsection[{lexem}]{\setlength{\rightskip}{0pt plus 5cm}std::string lexical::lexical::token::lexem}}
\label{classlexical_1_1token_08905637b113c636a7a210654ae0465f}


Lexem. 

Obsahuje lexem daného symbolu. Číselné hodnoty jsou reprezentovány řetězcem, je nutné potom dalších úprav. \hypertarget{classlexical_1_1token_4efe257cce5634bdcbc8d799b2e42419}{
\index{lexical::token@{lexical::token}!line@{line}}
\index{line@{line}!lexical::token@{lexical::token}}
\subsubsection[{line}]{\setlength{\rightskip}{0pt plus 5cm}unsigned lexical::lexical::token::line}}
\label{classlexical_1_1token_4efe257cce5634bdcbc8d799b2e42419}


Řádek tokenu. 

Obsahuje informaci řádku v souboru, na kterém se daný \hyperlink{classlexical_1_1token}{token} vyskytuje. 

Dokumentace pro tuto třídu byla generována z následujícího souboru:\begin{CompactItemize}
\item 
src/lexical.h\end{CompactItemize}
